package org.emaait.app.model;

import java.util.Date;

public class User {
	private Long id;
	private String userId;
	private String password;
	private String email;
	private Date registerDate;

	public User() {
		super();
	}

	public User(Long id, String userId, String password, String email,
			Date registerDate) {
		super();
		this.id = id;
		this.userId = userId;
		this.password = password;
		this.email = email;
		this.registerDate = registerDate;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getRegisterDate() {
		return registerDate;
	}

	public void setRegisterDate(Date registerDate) {
		this.registerDate = registerDate;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", userId=" + userId + ", password="
				+ password + ", email=" + email + ", registerDate="
				+ registerDate + "]";
	}

}
